Brief descriptionIn Windows PowerShell, aliases are alternative names for cmdlets or other commands.
Detailed descriptionAliases are cmdlet or commands (for example: functions, scripts, files, executables.) Alternative name, or a nickname. You can
My new understanding of alias: Using alias to make rm safer, aliasrm
Rm's tragedy always happens inadvertently. Therefore, whether in shell scripts or interactive bash environments, you should always think twice before executing rm commands. As a
AliasCommand: AliasFeature Description: Set the alias of the commandSyntax: alias [command]= ' other commands 'Cases:[[email protected] data]# aliasAlias cp= ' Cp-i 'Alias l.= ' ls-d. *--color=auto 'Alias ll= ' Ls-l--color=auto 'Alias ls= '
In detail, in ancient classical Chinese is "spy suitors words", now become "detailed explanation" of the abbreviation.Alias is the counterpart of Doskey in Ms-doc Cmds, which means "alias" or "pseudonym"Alias is powerful in that it can be reduced to
The command alias function of a Linux system the command alias function will use a large number of commands during the management and maintenance of the Linux system, and some long commands or usage are often used, repeated and frequent input of a
du command
Du-sh View folder size Du-sh/var: View the total size of the/var directory-a all displays the size of the file and folder, defaults to K, and the total size of the last statistic-h,–human-readable-s,–summarize,display O Nly a total for
Aliases alias alias
The Linux system assigns aliases to commands under the alias alias command usage:In a Linux system, if the command is too long and does not conform to the user's habits, then we can assign an alias to it. Although it is possible
This article is from the "Knowledge Forest"
In the previous example, the communication between the container and the container is done through the IP address in the network, which is obviously unreasonable, because the IP address may change when the
In the process of managing and maintaining a Linux system, a large number of commands will be used, and some long commands or usages are often used, and it is undesirable to repeatedly and frequently enter a very long command or usage. This process
First introduce the alias of the command, how to view it? Let's use the which command to see what the complete command is [[email protected] ~]# which lsalias ls= ' ls--color=auto ' /usr/bin/ls[[email protected] ~]# which Llalias ll= ' ls-l-
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.